﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YTSK.Model
{
    /// <summary>
    /// 税控发票明细表
    /// </summary>
    [Serializable]
    public partial class SK_SalebillVouchs_View
    {
        #region Model
        /// <summary>
        /// ID
        /// </summary>
        public int AutoID { set; get; }
        /// <summary>
        /// 主表ID
        /// </summary>
        public int ID { set; get; }
        /// <summary>
        /// 存货ID
        /// </summary>
        public int IDInventory { set; get; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public string cInvCode { set; get; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string cInvName { set; get; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string cInvStd { set; get; }
        /// <summary>
        /// 单位
        /// </summary>
        public string cDW { set; get; }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal? iQuantity { set; get; }
        /// <summary>
        /// 已回冲数量
        /// </summary>
        public decimal? iQuantityBack { set; get; }

        /// <summary>
        /// 行号
        /// </summary>
        public int? iRowCount { set; get; }
        /// <summary>
        /// 追踪ID
        /// </summary>
        public int? iTraceID { set; get; }
        /// <summary>
        /// 追踪AutoID
        /// </summary>
        public int? iTraceAutoID { set; get; }
        /// <summary>
        /// 含税单价-销售
        /// </summary>
        public decimal? iUnitPriceSale { set; get; }
        /// <summary>
        /// 不含税金额-销售
        /// </summary>
        public decimal? iMoneySale { set; get; }
        /// <summary>
        /// 税额-销售
        /// </summary>
        public decimal? iTaxSale { set; get; }
        /// <summary>
        /// 价税合计-销售
        /// </summary>
        public decimal? iSumSale { set; get; }
        /// <summary>
        /// 销售税率
        /// </summary>
        public decimal? iTaxRateSale { set; get; }
        /// <summary>
        /// 折前金额
        /// </summary>
        public decimal iQuoteMoney { set; get; }
        /// <summary>
        /// 折前税额
        /// </summary>

        public decimal iQuoteTax { set; get; }
        /// <summary>
        /// 折前价税合计
        /// </summary>
        public decimal iQuoteSum { set; get; }
        /// <summary>
        /// 折扣金额
        /// </summary>
        public decimal iDiscountMoney { set; get; }
        /// <summary>
        /// 折扣税额
        /// </summary>
        public decimal iDiscountTax { set; get; }
        /// <summary>
        /// 折扣价税合计
        /// </summary>
        public decimal iDiscountSum { set; get; }
        /// <summary>
        /// 税收分类编码
        /// </summary>
        public string TaxCode { set; get; }
        /// <summary>
        /// 九机行号
        /// </summary>
        public int? cDefine35 { set; get; }
        /// <summary>
        /// 九机单据号
        /// </summary>
        public string cDefine36 { set; get; }
        /// <summary>
        /// 折前单价
        /// </summary>
        public decimal iQuoteUnitPrice { set; get; }

        /// <summary>
        /// 税收分类编码
        /// </summary>
        public string cTaxType { set; get; }
        #endregion Model

    }
}
